﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WorkflowCore.Service.Dto.Fundamentals
{
    /// <summary>
    /// 流程发起
    /// </summary>
    public class WorkflowLaunchInput
    {
        /// <summary>
        /// 流程定义Id
        /// </summary>
        public string WorkflowDefinitionId { get; set; }

        /// <summary>
        /// 流程标题
        /// </summary>
        public string Title { get; set; }

        /// <summary>
        /// 表单内容
        /// </summary>
        //public Dictionary<string, object> FormContent { get; set; }
        public string FormContent { get; set; }

        public int Version { get; set; }

        /// <summary>
        /// 发起人
        /// </summary>
        public long UserId { get; set; }

        public string UserName { get; set; }

        /// <summary>
        /// 工作流ID，只有在重新发起时，此字段才有值
        /// </summary>
        public string WorkflowId { get; set; }
    }
}
